package com.chenailin.www.service;

import com.chenailin.www.util.EmailUtil;
import com.chenailin.www.util.VerificationCodeUtil;

import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Map;
import java.util.Timer;
import java.util.TimerTask;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author evi
 */
public interface VerificationCodeService {

    public void sendVerificationCode(String email);

    public boolean validateCode(String email, String inputCode);
}